package org.example.main.service;

import org.example.main.entity.Landlord;
import java.util.List;

public interface     LandlordService {
    int add(Landlord landlord);
    int deleteById(long landlordId);
    int updateById(Landlord landlord);  // 不修改 landlordId
    Landlord findById(long landlordId);
    Landlord findByUsername(String username);
    List<Landlord> findAll();
}

